package com.burt.strategy;

/**
 * Description:高德地图
 * User: Burt
 * Date: 2017-05-23
 * Time: 23:51
 */
public class GaodeMap {

    /**
     * 出发地
     */
    private String beginPlace;
    /**
     * 目的地
     */
    private String endPlace;

    public GaodeMap(String beginPlace, String endPlace) {
        this.beginPlace = beginPlace;
        this.endPlace = endPlace;
    }

    /**
     * 出发
     * @param navigate 导航
     */
    public void go(INavigate navigate){
        System.out.println("让强大的我来给你规化路线吧");
        navigate.routePlanning(this.beginPlace,this.endPlace);
    }

    public String getBeginPlace() {
        return beginPlace;
    }

    public void setBeginPlace(String beginPlace) {
        this.beginPlace = beginPlace;
    }

    public String getEndPlace() {
        return endPlace;
    }

    public void setEndPlace(String endPlace) {
        this.endPlace = endPlace;
    }
}
